CC = mips-sylixos-elf-gcc
#CFLAGS =  -march=mips32 -EL -G 0 -mno-branch-likely -mhard-float  -O2 -g1 -gdwarf-2 -Wall -fmessage-length=0 -fsigned-char -fno-short-enums -fno-strict-aliasing   -fPIC -mabicalls -DSYLIXOS   -I"D:\SylixOS_WS\mips/libsylixos/SylixOS" -I"D:\SylixOS_WS\mips/libsylixos/SylixOS/include" -I"D:\SylixOS_WS\mips/libsylixos/SylixOS/include/network"
CFLAGS = -march=mips32 -EL -G 0 -mno-branch-likely -mhard-float  -O2 -g1 -gdwarf-2 -Wall -fmessage-length=0 -fsigned-char -fno-short-enums -fno-strict-aliasing   -fPIC -mabicalls -DSYLIXOS   -I/d/SylixOS_WS/mips/libsylixos/SylixOS -I/d/SylixOS_WS/mips/libsylixos/SylixOS/include -I/d/SylixOS_WS/mips/libsylixos/SylixOS/include/network
LINKER_FLAGS = -nostdlib -fPIC -shared -L/d/SylixOS_WS/mips/libsylixos/Release -L/d/SylixOS_WS/mips/libsylixos/Debug  -L/d/SylixOS_WS/mips/libcextern/Release -lstdc++ -lcextern -lvpmpdm -lm -lgcc -ldsohandle

cmake : cmake.c
	$(CC) $(CFLAGS) $(LINKER_FLAGS) $< -o $@